<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			function Person(name){
				this.name = name;
				this.SHowName = function(){
					alert(name);
				}
			};
			var liudehua = new Person("刘德华");
			liudehua.SHowName();
		</script>
	</body>
</html>
